package com.py.credit.entity.common;

import java.util.List;

public class DataGrid {

	private int count;
	private List<?> data;

	public DataGrid(int count, List<?> data) {
		this.count = count;
		this.data = data;
	}

	public DataGrid(List<?> rows) {
		this.count = rows.size();
		this.data = rows;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public List<?> getData() {
		return data;
	}

	public void setData(List<?> data) {
		this.data = data;
	}
}